package com.example.htmlspringtest.service;

import com.example.htmlspringtest.base.service.BaseService;
import com.example.htmlspringtest.dao.MenuMapper;
import com.example.htmlspringtest.entity.oTestMenu;

import java.util.List;

/**
 * @belongsProject: HTML-Spring-test
 * @belongsPackage: com.example.htmlspringtest.service.impl
 * @author: dongmufengchun
 * @createTime: 2022-06-19  19:37
 * @description: MenuService
 * @version: 1.0
 */
public abstract class IsMenuService extends BaseService<oTestMenu, MenuMapper> {
    /**
     * 功能简介: 对象查询
     *
     * @return java.util.List<T>
     * @Author dongmufengchun
     * @Date 16:26 2022/6/19
     **/
    @Override
    public abstract List<oTestMenu> findList();

    /**
     * 功能简介: 对象保存
     *
     * @param oTestMenu 对象t
     * @return int
     * @Author dongmufengchun
     * @Date 16:26 2022/6/19
     **/
    @Override
    public abstract int save(oTestMenu oTestMenu);

    /**
     * 功能简介: 对象删除
     *
     * @param id id
     * @return int
     * @Author dongmufengchun
     * @Date 16:26 2022/6/19
     **/
    @Override
    public abstract int delete(Long id);

    /**
     * 功能简介: 修改
     *
     * @param oTestMenu 对象oTestMenu
     * @return int
     * @Author dongmufengchun
     * @Date 16:25 2022/6/19
     **/
    @Override
    public abstract int update(oTestMenu oTestMenu);

    /**
     * 功能简介: 根据ID查询对象
     *
     * @param id id
     * @return oTestMenu
     * @Author dongmufengchun
     * @Date 16:25 2022/6/19
     **/
    @Override
    public abstract oTestMenu findById(Long id);
}

